package com.lecture.java8.cmd;

import lombok.Data;

@Data
public class CmdResult {
    private StringBuffer stderr = new StringBuffer();

    private StringBuffer stdout = new StringBuffer();

    public void appendStderrNewLine(String newLine) {
        this.stderr.append(newLine).append("\n ");
    }

    public void appendStdoutNewLine(String newLine) {
        this.stdout.append(newLine).append("\n ");
    }
}
